home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 4 / ETO Development Tools 4.iso / Essentials / MacApp Documentation / MacApp.TECH$ Archives / 1989 / Jul 89 / W0005-Setting Cursor wit-Jul89 < prev    next >
Encoding:
Text File  |  1991-03-06  |  1.3 KB  |  41 lines  |  [TEXT/GEOL]

  1. Item    3169595                         3-July-89        10:29
  2.  
  3. From:   D2086                           Efficient Field Svc, C Faith, PRT
  4.  
  5. To:     MACAPP.TECH$                    MACAPP Tech
  6.  
  7. Sub:    Setting Cursor  with keys
  8.  
  9. Here is a message that I have received on Compuserve:
  10. ***************
  11. Hi,
  12.  
  13. In the application I'm working on, I've successfully used a TView.DoSetCursor
  14. override to change the cursor to either a plus-magnifying-glass or a
  15. minus-magnifying-glass depending on which keys are down (using a GetKeys call).
  16.  
  17. There is a problem though.  HandleCursor, DoSetCursor and I believe the other
  18. Idle events are not called at all when the mouse is stationary for a second or
  19. so.  If you set trace on and leave the mouse stationary for a few seconds
  20. you'll see it go into a loop of calling BusyReset, which it continues until the
  21. mouse is moved.
  22.  
  23. Because of the way this works, the cursor won't change when I change the keys I
  24. am pressing until the mouse is moved.  It's a very bad effect and I need to
  25. find a way around it, but going through the UBusyCursor unit hasn't done me
  26. much good.
  27.  
  28. Can someone help?
  29.  
  30. Thank you...
  31.  
  32.          Eric
  33. ****************
  34. I am open for suggestions.  As I have not done much with cursors myself yet I
  35. don't want to respond prematurely.
  36.  
  37. Curtis Faith
  38.  
  39.  
  40.  
  41.